﻿using PwjCy.Lite.Common;
using PwjCy.Lite.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PwjCy.Lite.Core
{
    /// <summary>
    /// 基础服务实例对象
    /// </summary>
    public sealed class PLServices
    {
        /// <summary>
        /// 持久层映射
        /// </summary>
        public static IPersisterMapping PersisterMapping
        {
            get { return ServiceHub.Instance.GetService<IPersisterMapping>(); }
        }
        /// <summary>
        /// Hash缓存
        /// </summary>
        public static HashCacheHelper HashCacheHelper
        {
            get { return HashCacheHelper.Instance; }
        }

    }
}
